package com.chen.test;


import com.chen.pojo.User;
import org.junit.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class test1 {



    @Test
    public void test1() {

        ClassPathXmlApplicationContext app = new ClassPathXmlApplicationContext("applicationContext.xml");
        User user = app.getBean(User.class);
        System.out.println(user);

    }

}
